﻿using System;

namespace Wedonek.RpcStore.Service.Model
{
        public class AutoTaskItem
        {
                public Guid Id
                {
                        get;
                        set;
                }
                public Guid TaskId
                {
                        get;
                        set;
                }

                public string ItemTitle
                {
                        get;
                        set;
                }
                public int ItemSort
                {
                        get;
                        set;
                }
                public TaskSendType SendType
                {
                        get;
                        set;
                }

                public TaskSendParam SendParam
                {
                        get;
                        set;
                }
                public int? TimeOut
                {
                        get;
                        set;
                }
                public int? RetryNum
                {
                        get;
                        set;
                }
                public TaskSetup FailSetup
                {
                        get;
                        set;
                }

                public int FailNextSetup
                {
                        get;
                        set;
                }

                public TaskSetup SuccessSetup
                {
                        get;
                        set;
                }
                public int NextSetup
                {
                        get;
                        set;
                }
                public bool IsWriteLog
                {
                        get;
                        set;
                }
                public bool IsSuccess
                {
                        get;
                        set;
                }
                public long? ErrorCode
                {
                        get;
                        set;
                }
                public bool IsEnable
                {
                        get;
                        set;
                }
        }
}
